<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>多列布局案例</title>
    
    <style>
        .box{
            column-count: 2;
        }
        div img{
            width: 100%;
        }
        .box div{
            border: 3px solid lawngreen;
            padding: 5px;
            margin-bottom: 10px;

            /* 禁止盒子内容折行 */
            break-inside: avoid;
            
        }
        .box div p{
            line-height: 30px;
            text-align: center;
            font-size: 14px;
        }

    </style>

</head>
<body>
    
    <div class="box">

        <div>
            <img src="../足球圈案例/image/1.webp" alt="">
            <p>内容名字</p>
        </div>
        <div>
            <img src="../足球圈案例/image/2.webp" alt="">
            <p>内容名字</p>
        </div>
        <div>
            <img src="../足球圈案例/image/3.webp" alt="">
            <p>内容名字</p>
        </div>
        <div>
            <img src="../足球圈案例/image/1.webp" alt="">
            <p>内容名字</p>
        </div>
        <div>
            <img src="../足球圈案例/image/1.webp" alt="">
            <p>内容名字</p>
        </div>
        <div>
            <img src="../足球圈案例/image/3.webp" alt="">
            <p>内容名字</p>
        </div>
        <div>
            <img src="../足球圈案例/image/1.webp" alt="">
            <p>内容名字</p>
        </div>
        <div>
            <img src="../足球圈案例/image/2.webp" alt="">
            <p>内容名字</p>
        </div>
        <div>
            <img src="../足球圈案例/image/1.webp" alt="">
            <p>内容名字</p>
        </div>
        <div>
            <img src="../足球圈案例/image/3.webp" alt="">
            <p>内容名字</p>
        </div>


    </div>

</body>
</html>